package com.xw.unification.exception;

import com.xw.unification.interfaces.ResultCodeEnumerable;

/**
 * @author qiwei
 */
public class SignatureCheckException extends UnifiedRuntimeException{
    public SignatureCheckException(int errorCode, String message, Object body) {
        super(errorCode, message, body);
    }

    public SignatureCheckException(ResultCodeEnumerable resultCodeEnum) {
        super(resultCodeEnum);
    }

    public SignatureCheckException(ResultCodeEnumerable resultCodeEnum, Object body) {
        super(resultCodeEnum, resultCodeEnum == null ? null : resultCodeEnum.getMessage(), body);
    }

    public SignatureCheckException(ResultCodeEnumerable resultCodeEnum, String message, Object body) {
        super(resultCodeEnum, message, body);
    }
}
